# coding=utf-8

'''rpc 客户端'''
from xmlrpc.client import ServerProxy

PORT = 8001


def rpcClientFunction(addr):
    _url = 'http://'+addr + ':' + str(PORT)
    s = ServerProxy(_url)
    return s
